package com.wh.aop.aspect;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

//@Component
//@Aspect
@Slf4j
@Order(1)
public class AspectDemo1 {
    @Before("execution(* com.wh.aop.controller.*.*(..))")
    public void doBefore() {
        log.info("AspectText do before1....");
    }
}
